package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.SignalLampEntity;

/**
 * Created by xu_jiaHui on 2017/8/2.
 */
public class SignalLampDto {
    private Integer signalLampId;
    private String projectNumber;
    private Integer signalLampRegionId;
    private String signalLampLongitude;
    private String signalLampLatitude;
    private String signalLampProvince;
    private String signalLampCity;
    private String signalLampArea;
    private String signalLampStartRoad;
    private String signalLampEndRoad;
    private String signalLampPhoto;
    private String signalLampType;
    private String signalLampBrand;
    private String signalLampInstallTime;
    private String signalLampInstallOrg;
    private Integer signalLampPeriod;
    private Integer signalLampServiceLife;
    private String signalLampRemark;
    private Integer signalLampCreatorId;
    private Integer signalLampModifierId;
    private Integer signalLampIsComplete;
    private Integer signalLampMainOrgId;
    private Integer signalLampOrgId;
    private String signalLampADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;


    private String signalLampCreatorName;   //采集人姓名
    private String signalLampOrgName;       //养护公司名称
    private String signalLampMainOrgName;   //主管单位名称
    private String longitude;                   //经度
    private String latitude;
    private Integer deviceState;

    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public Integer getSignalLampId() {
        return signalLampId;
    }

    public void setSignalLampId(Integer signalLampId) {
        this.signalLampId = signalLampId;
    }

    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    public Integer getSignalLampRegionId() {
        return signalLampRegionId;
    }

    public void setSignalLampRegionId(Integer signalLampRegionId) {
        this.signalLampRegionId = signalLampRegionId;
    }

    public String getSignalLampLongitude() {
        return signalLampLongitude;
    }

    public void setSignalLampLongitude(String signalLampLongitude) {
        this.signalLampLongitude = signalLampLongitude;
    }

    public String getSignalLampLatitude() {
        return signalLampLatitude;
    }

    public void setSignalLampLatitude(String signalLampLatitude) {
        this.signalLampLatitude = signalLampLatitude;
    }

    public String getSignalLampProvince() {
        return signalLampProvince;
    }

    public void setSignalLampProvince(String signalLampProvince) {
        this.signalLampProvince = signalLampProvince;
    }

    public String getSignalLampCity() {
        return signalLampCity;
    }

    public void setSignalLampCity(String signalLampCity) {
        this.signalLampCity = signalLampCity;
    }

    public String getSignalLampArea() {
        return signalLampArea;
    }

    public void setSignalLampArea(String signalLampArea) {
        this.signalLampArea = signalLampArea;
    }

    public String getSignalLampStartRoad() {
        return signalLampStartRoad;
    }

    public void setSignalLampStartRoad(String signalLampStartRoad) {
        this.signalLampStartRoad = signalLampStartRoad;
    }

    public String getSignalLampEndRoad() {
        return signalLampEndRoad;
    }

    public void setSignalLampEndRoad(String signalLampEndRoad) {
        this.signalLampEndRoad = signalLampEndRoad;
    }

    public String getSignalLampPhoto() {
        return signalLampPhoto;
    }

    public void setSignalLampPhoto(String signalLampPhoto) {
        this.signalLampPhoto = signalLampPhoto;
    }

    public String getSignalLampType() {
        return signalLampType;
    }

    public void setSignalLampType(String signalLampType) {
        this.signalLampType = signalLampType;
    }

    public String getSignalLampBrand() {
        return signalLampBrand;
    }

    public void setSignalLampBrand(String signalLampBrand) {
        this.signalLampBrand = signalLampBrand;
    }

    public String getSignalLampInstallTime() {
        return signalLampInstallTime;
    }

    public void setSignalLampInstallTime(String signalLampInstallTime) {
        this.signalLampInstallTime = signalLampInstallTime;
    }

    public String getSignalLampInstallOrg() {
        return signalLampInstallOrg;
    }

    public void setSignalLampInstallOrg(String signalLampInstallOrg) {
        this.signalLampInstallOrg = signalLampInstallOrg;
    }

    public Integer getSignalLampPeriod() {
        return signalLampPeriod;
    }

    public void setSignalLampPeriod(Integer signalLampPeriod) {
        this.signalLampPeriod = signalLampPeriod;
    }

    public Integer getSignalLampServiceLife() {
        return signalLampServiceLife;
    }

    public void setSignalLampServiceLife(Integer signalLampServiceLife) {
        this.signalLampServiceLife = signalLampServiceLife;
    }

    public String getSignalLampRemark() {
        return signalLampRemark;
    }

    public void setSignalLampRemark(String signalLampRemark) {
        this.signalLampRemark = signalLampRemark;
    }

    public Integer getSignalLampCreatorId() {
        return signalLampCreatorId;
    }

    public void setSignalLampCreatorId(Integer signalLampCreatorId) {
        this.signalLampCreatorId = signalLampCreatorId;
    }

    public Integer getSignalLampModifierId() {
        return signalLampModifierId;
    }

    public void setSignalLampModifierId(Integer signalLampModifierId) {
        this.signalLampModifierId = signalLampModifierId;
    }

    public Integer getSignalLampIsComplete() {
        return signalLampIsComplete;
    }

    public void setSignalLampIsComplete(Integer signalLampIsComplete) {
        this.signalLampIsComplete = signalLampIsComplete;
    }

    public Integer getSignalLampMainOrgId() {
        return signalLampMainOrgId;
    }

    public void setSignalLampMainOrgId(Integer signalLampMainOrgId) {
        this.signalLampMainOrgId = signalLampMainOrgId;
    }

    public Integer getSignalLampOrgId() {
        return signalLampOrgId;
    }

    public void setSignalLampOrgId(Integer signalLampOrgId) {
        this.signalLampOrgId = signalLampOrgId;
    }

    public String getSignalLampCreatorName() {
        return signalLampCreatorName;
    }

    public void setSignalLampCreatorName(String signalLampCreatorName) {
        this.signalLampCreatorName = signalLampCreatorName;
    }

    public String getSignalLampOrgName() {
        return signalLampOrgName;
    }

    public void setSignalLampOrgName(String signalLampOrgName) {
        this.signalLampOrgName = signalLampOrgName;
    }

    public String getSignalLampMainOrgName() {
        return signalLampMainOrgName;
    }

    public void setSignalLampMainOrgName(String signalLampMainOrgName) {
        this.signalLampMainOrgName = signalLampMainOrgName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getSignalLampADeviceId() {
        return signalLampADeviceId;
    }

    public void setSignalLampADeviceId(String signalLampADeviceId) {
        this.signalLampADeviceId = signalLampADeviceId;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }

    public SignalLampEntity toBean() {
        SignalLampEntity signalLampEntity = new SignalLampEntity();
        signalLampEntity.setProjectNumber(projectNumber);
        signalLampEntity.setSignalLampLongitude(signalLampLongitude);
        signalLampEntity.setSignalLampLatitude(signalLampLatitude);
        signalLampEntity.setSignalLampProvince(signalLampProvince);
        signalLampEntity.setSignalLampCity(signalLampCity);
        signalLampEntity.setSignalLampArea(signalLampArea);
        signalLampEntity.setSignalLampStartRoad(signalLampStartRoad);
        signalLampEntity.setSignalLampEndRoad(signalLampEndRoad);
        signalLampEntity.setSignalLampType(signalLampType);
        signalLampEntity.setSignalLampBrand(signalLampBrand);
        signalLampEntity.setSignalLampPhoto(signalLampPhoto);
        signalLampEntity.setSignalLampInstallTime(signalLampInstallTime);
        signalLampEntity.setSignalLampInstallOrg(signalLampInstallOrg);
        signalLampEntity.setSignalLampPeriod(signalLampPeriod);
        signalLampEntity.setSignalLampServiceLife(signalLampServiceLife);
        signalLampEntity.setSignalLampRemark(signalLampRemark);
        signalLampEntity.setSignalLampCreatorId(signalLampCreatorId);
        signalLampEntity.setSignalLampOrgId(signalLampOrgId);
        signalLampEntity.setSignalLampMainOrgId(signalLampMainOrgId);
        signalLampEntity.setSignalLampIsComplete(0);
        signalLampEntity.setSignalLampRegionId(signalLampRegionId);
        signalLampEntity.setSignalLampADeviceId(signalLampADeviceId);
        signalLampEntity.setAlarmCount(alarmCount);
        signalLampEntity.setAlarmDeviceId(alarmDeviceId);
        return signalLampEntity;
    }
}
